﻿@{
    ViewBag.Title = "Index";
} 
 
      @using (Html.BeginForm("Index", "Login", FormMethod.Post))
      { 
          <div class="userlgn1">
              <ul>
                  <li><label>用户名：</label> @Html.TextBox("name") 邮件，用户，手机</li>
                  <li><label>登陆密码：</label>  @Html.Password("pwd")</li>
                   <li style="text-indent: 150px; color: red">
                      <span id="msg">@ViewBag.msg</span>
                  </li>
                  <li class="sbmtbtn">
                      @Html.Hidden("redirectUrl",null,new {@value=ViewBag.redirectUrl}) 
                      <input id="btnSubmit" type="submit" value="登录"/>
                  
                      @Html.ActionLink("忘记密码","Resetpassword")
                      @Html.ActionLink("注册新帐号","Register")
                      
                  </li>
                 
              </ul> 
             
         </div>
      }